/**
 * 
 */
package net.homeip.mmhg.domain;

import java.io.Serializable;

/**
 * Simple JavaBean domain object with an id property.
 * Used as a base class for objects needing this property.
 */
@SuppressWarnings("serial")
public abstract class BaseEntity implements Serializable {

	protected Integer id;
	

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public boolean isNew() {
		return (this.id == null);
	}

}
